import java.util.Iterator;

public class test1{
    public static void main(String[] args) {
        int n=args.length;
        if(n==1){
            throw new onlyoneexception("只有一个数");
        }
        if(n==0){
            throw new noprandexception("没有数字");
        }
        Integer a=Integer.parseInt(args[0]);
        Integer b=Integer.parseInt(args[1]);
        System.out.println(a+b);
    }
}
class onlyoneexception extends RuntimeException{
    public onlyoneexception(String message){
        super (message);
    }
}
class noprandexception extends RuntimeException{
    public noprandexception(String message){
        super (message);
    }
}